<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
    <!-- <mate name="flexibel" content="initial-drl=2"/> -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-touch-fullscreen" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
    <!--留存统计-->
    <script type="text/javascript" src="https://hy.yixueqm.com/zhiming/index.php/Home-Interface-remain?typeName=CY-J&nickName=八字财运-结果页&channel=<!--{$Think.cookie.channel}-->&uid=<!--{$Think.cookie.uid}-->"></script>

    <title>一生财运祥批</title>
    <!--[if lt IE 9]>  
        <script src="http://cdn.bootcss.com/html5shiv/r29/html5.js"></script>  
    <![endif]-->
    <link rel="stylesheet" href="__PUBLIC__/css/ZM_share.css" />
    <script src="__PUBLIC__/js/rem.js"></script>
    <script src="__PUBLIC__/js/jquery.min.js"></script>
    <style>
        .lc_box, .lc_con, .lc_tip, .master_introduction, .obp_user, .obp_user .txt, .public_bg_white, .public_bzcy_title, .public_have_test, .uf_ul li, .uf_ul_wrap, .user_feedback {
            overflow: hidden;
        }
        /* 命盘 */
        .liunian_table { margin:10px 0;color: #512a18;}
        table {border-spacing: 0;}
        .red_words {color: #a40b1c;}
        .red {color: #d52800;}
        .liunian_table table {width: 100%;background: #fff4d6;margin-bottom: 5px;border: 1px solid #ddbd67;}
        .liunian_table td.bg_col_y {
            background: #f8d0a8;
            color: #763515;
            border-right: 1px solid #ddbd67;
            border-bottom: 1px solid #ddbd67;
        }
        .liunian_table td {
            width: 10%;
            padding: 5px 0;
            box-sizing: border-box;
            border-right: 1px solid #ddbd67;
            border-bottom: 1px solid #ddbd67;
            text-align: center;
        }
        .hr_words {
            text-align: center;
            height: 30px;
            line-height: 30px;
            color: #a40b1c;
            border-left: 1px solid #ddbd67;
        }
        .liunian_table li {float: left;width: 25%;}
        .liunian_table li p {font-weight: 700;font-size: 20px;}
        .liunian_table td.bg_red {background: #a61222;color: #fff4d6;}
        /* 财运运势 */
        .fc_time, .zp_cai,.qiucai,.year_caiyun,.bzmp{border-bottom: 5px solid #e0e0e0;}
        .bzmp{padding:15px 10px;}
        .fc_time, .zp_cai {background-color: #fff;padding: 15px 10px;overflow: hidden;}
        .public_bzcy_title {
            width: 80%;
            margin: 0 auto;
            position: relative;
            background: url(__PUBLIC__/images/bzcy_img/bg_public_title.jpg) repeat-x;
            background-size: 100% 25px;
            color: #fffbf2;
        }
        .lc_tip span, .public_bzcy_title {line-height: 25px;text-align: center;}
        .public_bzcy_title:after, .public_bzcy_title:before {
            content: "";
            position: absolute;
            top: 0;
            background: url(__PUBLIC__/images/bzcy_img/icon_lr_title3.jpg) no-repeat;
            width: 8px;
            height: 25px;
            background-size: 100% 100%;
        }
        .public_bzcy_title:after {
            right: 0;
            -moz-transform: scaleX(-1);
            -webkit-transform: scaleX(-1);
            -o-transform: scaleX(-1);
            transform: scaleX(-1);
        }
        .public_bzcy_title:before {left: 0;}
        .fc_time_content {overflow: hidden;margin: 10px 0;}
        .fc_time_content img {width: 88px;height: 100px;margin: 5px 0 0 5px;}
        .zp_cai_score {overflow: hidden;width: 160px; margin: 15px auto;}
        .zp_cai_score span {float: left;line-height: 80px;}
        .zp_cai_score .public_zhishu {float: left;margin: 0 5px;}
        .public_zhishu {
            text-align: center;
            width: 80px;
            height: 80px;
            margin: 0 auto;
            background-color: #fde6c4;
            position: relative;
            border-radius: 50%;
            overflow: hidden;
        }
        .public_zhishu:before {
            content: '';
            position: absolute;
            background-color: #ed2340;
            height: 80px;
            top: 0;
            left: 0;
            z-index: 2;
        }
        .public_zhishu div {
            width: 70px;
            height: 70px;
            line-height: 70px;
            top: 5px;
            left: 5px;
            border-radius: 50%;
            background-color: #fff;
            position: absolute;
            box-sizing: border-box;
            z-index: 9;
        }
        .public_zhishu div b {color: #ed2340;font-size: 18px;}
        .public_box {position: relative;border: 1px solid #efe4d5;margin: 5px;background-color: #fbf8f2;}
        .public_box i {
            position: absolute;
            background: url(__PUBLIC__/images/bzcy_img/icon_horn.jpg) no-repeat;
            width: 7px;
            height: 6px;
            background-size: 100% 100%;
        }
        .public_box i.horn01 {top: -1px;left: -1px;}
        .public_box i.horn02 {
            top: -1px;
            right: -1px;
            -moz-transform: scaleX(-1);
            -webkit-transform: scaleX(-1);
            -o-transform: scaleX(-1);
            transform: scaleX(-1);
        }
        .public_box i.horn03 {
            bottom: -1px;
            left: -1px;
            -moz-transform: scaleY(-1);
            -webkit-transform: scaleY(-1);
            -o-transform: scaleY(-1);
            transform: scaleY(-1);
        }
        public_box i.horn04 {
            background-image: url(__PUBLIC__/images/bzcy_img/icon_horn_4.jpg);
            background-size: 100% 100%;
            bottom: -1px;
            right: -1px;
        }
        .zp_cai_content {overflow: hidden;padding: 10px;}
        .zp_cai_content span {color: #ce2d34;}
        .caiyun, .qiucai, .year_caiyun {overflow: hidden;padding: 10px;background-color: #fff;}
        .qiucai .content {margin: 10px 0;}
        .yc_top {margin: 10px 0;overflow: hidden;}
        .yc_top .sx {width: 50%;text-align: center;}
        .yc_top .sx p {
            width: 70px;
            height: 70px;
            line-height: 70px;
            text-align: center;
            color: #c4292d;
            font-size: 24px;
            font-weight: 700;
            border: 5px solid #fde6c4;
            border-radius: 50%;
            margin: 0 auto;
        }
        .yc_top .sx .words {display: block;margin-top: 5px;}
        .yc_top .zs {width: 50%;text-align: center;}
        .yc_content {overflow: hidden;padding: 10px;text-align: left;}
        .yc_content span {color: #c4292d;display: inline-block;}
        .caiyun_content {margin-top: 10px;}
        .caiyun_content p {margin-bottom: 5px;}
        .caiyun_content .bg_red {background-color: #c4292d;}
        .caiyun_content .bg_yellow {background-color: #9f7d51;}
        .caiyun_content .bg_red, .caiyun_content .bg_yellow {
            color: #fff;
            border-radius: 3px;
            padding: 0 3px 0 5px;
            height: 20px;
            line-height: 20px;
            margin-right: 3px;
        }
        .caiyun .public_box {padding-top: 10px;margin-top: 10px;}
        .caiyun_txt {padding: 10px;}
        .caiyun_txt span {color: #c4292d;}
        .fiex_bt{height:50px;line-height: 50px;font-size:18px;}
        .fiex_bt a{background-color:#D60F00;height:40px;line-height: 40px}
    </style>
</head>
<body>
    <include file="Public/header"/>
    <!-- 手机号码绑定 -->
    <include file="Public/alert3" />

    <div class="public_bg_white">
        <div class="order_box_pay">
            <div class="obp_nun">订单编号：<span><!--{$Think.cookie.Zorderid}--></span>
                <p class="order_time">下单时间:<!--{$createtime}--></p>
            </div>
            <if condition="$Think.cookie.QSorderNo eq 1">
                <else />
                <!-- 大师寄语 -->
                <!--<div class="dashi_point_warp">-->
                    <!--<div class="dashi_point_title">你有一条留言:</div>-->
                    <!--<div class="dashi_point_content">-->
                        <!--<img src="__PUBLIC__/images/bzcy_img/dashitouxiang.png" alt="大师头像" class="portrint">-->
                        <!--<div class="dashi_point_box" data-cid="one">-->
                            <!--<img src="__PUBLIC__/images/bzjp_img/img_yuyin3.png" alt="语音进度" id="Aone" class="dashi_icon">-->
                        <!--</div>-->
                        <!--<div class="dashi_audio_time newMsg">00:19"</div>-->
                    <!--</div>-->
                <!--</div>-->
            </if>
            
        </div>
    </div>
    <div class="bzmp">
        <p class="public_bzcy_title">八字命盘</p>
        <div class="liunian_table">
            <div class="base_info">
                <p><span>姓名：</span>
                    <!--{$Think.cookie.znickname}-->
                </p>
                <p><span>公历：</span>
                    <!--{$Think.cookie.zyangli}-->
                </p>
                <p><span>农历：</span>
                    <!--{$Think.cookie.zyinli}-->&nbsp;&nbsp;
                    <!--{:mb_substr($sizhu['3'],1,1,'utf-8')}-->时</p>
            </div>

            <table>
                <tbody>
                    <tr>
                        <td class="bg_col_y">命造</td>
                        <td class="bg_col_y" colspan="2">年柱</td>
                        <td class="bg_col_y" colspan="2">月柱</td>
                        <td class="bg_col_y" colspan="2">日柱</td>
                        <td class="bg_col_y" colspan="2">时柱</td>
                    </tr>
                    <tr>
                        <td class="bg_col_y">天干十神</td>
                        <td class="red_words" colspan="2"><!--{$nianzhuss[0]}--></td>
                        <td class="red_words" colspan="2"><!--{$nianzhuss[1]}--></td>
                        <td class="red_words" colspan="2">命主</td>
                        <td class="red_words" colspan="2"><!--{$nianzhuss[2]}--></td>
                    </tr>
                    <tr>
                        <td class="bg_col_y">八字</td>
                        <td colspan="8">
                            <ul>
                                <li><p><!--{:mb_substr($sizhu[0],0,1,'utf-8')}--></p><p><!--{:mb_substr($sizhu[0],1,1,'utf-8')}--></p></li>
                                <li><p><!--{:mb_substr($sizhu[1],0,1,'utf-8')}--></p><p><!--{:mb_substr($sizhu[1],1,1,'utf-8')}--></p></li>
                                <li><p><!--{:mb_substr($sizhu[2],0,1,'utf-8')}--></p><p><!--{:mb_substr($sizhu[2],1,1,'utf-8')}--></p></li>
                                <li><p><!--{:mb_substr($sizhu[3],0,1,'utf-8')}--></p><p><!--{:mb_substr($sizhu[3],1,1,'utf-8')}--></p></li>
                            </ul>
                        </td>
                    </tr>
                    <tr>
                        <td class="bg_col_y">藏干</td>
                        <td colspan="2"><!--{$canggan[0]}--></td>
                        <td colspan="2"><!--{$canggan[1]}--></td>
                        <td colspan="2"><!--{$canggan[2]}--></td>
                        <td colspan="2"><!--{$canggan[3]}--></td>
                    </tr>
                    <tr>
                        <td class="bg_col_y">地支十神</td>
                        <td colspan="2"><p><!--{$zhishen[0]}--></p></td>
                        <td colspan="2"><p><!--{$zhishen[1]}--></p></td>
                        <td colspan="2"><p><!--{$zhishen[2]}--></p></td>
                        <td colspan="2"><p><!--{$zhishen[3]}--></p></td>
                    </tr>
                    <tr>
                        <td class="bg_col_y">纳音</td>
                        <td colspan="2"><p><!--{$sizhuny[0]}--></p></td>
                        <td colspan="2"><p><!--{$sizhuny[1]}--></p></td>
                        <td colspan="2"><p><!--{$sizhuny[2]}--></p></td>
                        <td colspan="2"><p><!--{$sizhuny[3]}--></p></td>
                    </tr>
                    <tr>
                        <td class="bg_col_y">地势</td>
                        <td colspan="2"><!--{$bzdishi[0]}--></td>
                        <td colspan="2"><!--{$bzdishi[1]}--></td>
                        <td colspan="2"><!--{$bzdishi[2]}--></td>
                        <td colspan="2"><!--{$bzdishi[3]}--></td>
                    </tr>
                    <tr>
                        <td class="bg_col_y">喜用神:<!--{$xiys}--></td>
                        <td colspan="4"><p>旺相休囚死:</p><p class="red_words"><!--{$wxsqs}--></p></td>
                        <td colspan="2"><p>胎元:</p><p class="red_words"><!--{$taiyuan}--></p></td>
                        <td colspan="2"><p>日空:</p><p class="red_words"><!--{$rikong}--></p></td>
                    </tr>
                    <tr>
                        <td colspan="10" class="hr_words">起大运：出生后<!--{$dayunx}-->年<!--{$dayuny}-->月起大运</td>
                    </tr>
                    <tr>
                        <td >大运岁数</td>
                        <td><!--{$dayun}--></td>
                        <td><!--{$dayun+10}--></td>
                        <td><!--{$dayun+20}--></td>
                        <td><!--{$dayun+30}--></td>
                        <td><!--{$dayun+40}--></td>
                        <td><!--{$dayun+50}--></td>
                        <td><!--{$dayun+60}--></td>
                        <td><!--{$dayun+70}--></td>
                    </tr>
                    <tr>
                        <td >大运年份</td>
                        <td><!--{:mb_substr($dayungz[0],0,1,'utf-8')}--><br><!--{:mb_substr($dayungz[0],1,1,'utf-8')}--></td>
                        <td><!--{:mb_substr($dayungz[1],0,1,'utf-8')}--><br><!--{:mb_substr($dayungz[1],1,1,'utf-8')}--></td>
                        <td><!--{:mb_substr($dayungz[2],0,1,'utf-8')}--><br><!--{:mb_substr($dayungz[2],1,1,'utf-8')}--></td>
                        <td><!--{:mb_substr($dayungz[3],0,1,'utf-8')}--><br><!--{:mb_substr($dayungz[3],1,1,'utf-8')}--></td>
                        <td><!--{:mb_substr($dayungz[4],0,1,'utf-8')}--><br><!--{:mb_substr($dayungz[4],1,1,'utf-8')}--></td>
                        <td><!--{:mb_substr($dayungz[5],0,1,'utf-8')}--><br><!--{:mb_substr($dayungz[5],1,1,'utf-8')}--></td>
                        <td><!--{:mb_substr($dayungz[6],0,1,'utf-8')}--><br><!--{:mb_substr($dayungz[6],1,1,'utf-8')}--></td>
                        <td><!--{:mb_substr($dayungz[7],0,1,'utf-8')}--><br><!--{:mb_substr($dayungz[7],1,1,'utf-8')}--></td>
                    </tr>
                    <tr>
                        <td >十神</td>
                        <td><!--{:mb_substr($dayunss[0],0,1,'utf-8')}--><br><!--{:mb_substr($dayunss[0],1,1,'utf-8')}--></td>
                        <td><!--{:mb_substr($dayunss[1],0,1,'utf-8')}--><br><!--{:mb_substr($dayunss[1],1,1,'utf-8')}--></td>
                        <td><!--{:mb_substr($dayunss[2],0,1,'utf-8')}--><br><!--{:mb_substr($dayunss[2],1,1,'utf-8')}--></td>
                        <td><!--{:mb_substr($dayunss[3],0,1,'utf-8')}--><br><!--{:mb_substr($dayunss[3],1,1,'utf-8')}--></td>
                        <td><!--{:mb_substr($dayunss[4],0,1,'utf-8')}--><br><!--{:mb_substr($dayunss[4],1,1,'utf-8')}--></td>
                        <td><!--{:mb_substr($dayunss[5],0,1,'utf-8')}--><br><!--{:mb_substr($dayunss[5],1,1,'utf-8')}--></td>
                        <td><!--{:mb_substr($dayunss[6],0,1,'utf-8')}--><br><!--{:mb_substr($dayunss[6],1,1,'utf-8')}--></td>
                        <td><!--{:mb_substr($dayunss[7],0,1,'utf-8')}--><br><!--{:mb_substr($dayunss[7],1,1,'utf-8')}--></td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class="fc_time">
        <p class="public_bzcy_title">发财时间</p>
        <div class="fc_time_content">
            <img src="__PUBLIC__/images/bzcy_img/img_time.jpg" alt="发财时间" class="right">少年发财，父母祖辈条件好，衣食无忧。财富多来于意外所得。当在少年之时多多从事各种意外之事，买张彩票便中大奖的事极有可能在你身上发生。若能在少年之时懂得花钱容易赚钱难的道理，你便可一辈子不为钱财所忧。
        </div>
        <div class="public_box"><i class="horn01"></i><i class="horn02"></i><i class="horn03"></i><i class="horn04"></i>
            <div class="zp_cai_content"><span>详解：</span><!--{$arrcyd['fc_time']}--></div>
        </div>
    </div>
    <div class="zp_cai">
        <p class="public_bzcy_title">正财·偏财</p>
        <div class="zp_cai_score">
            <span>财运</span>
            <div class="public_zhishu" id="zhengcai_zhishu">
                <div><b><!--{$zpcai}--></b>分</div>
            </div><style type="text/css">#zhengcai_zhishu:before {width: <!--{$zpcai}-->% }</style>
            <span>得分</span>
        </div>
        <div class="public_box"><i class="horn01"></i><i class="horn02"></i><i class="horn03"></i><i class="horn04"></i>
            <div class="zp_cai_content"><span>老师详解：</span>正财不多，偏财尚可，初运平常，作事虽非逆境，然未十分称心，须等中限交进，渐渐步入顺境。经商得弊均半，不义之事，切勿妄行。</div>
        </div>
    </div>
    <div class="qiucai">
        <p class="public_bzcy_title">求财特征</p>
        <div class="content"><!--{$arrcyd['features_day']}--><!--{$arrcyy['features_year']}--></div>
    </div>
    <div class="year_caiyun">
        <p class="public_bzcy_title">今年财运</p>
        <div class="yc_top">
            <div class="sx left"><p><!--{$shengxiao}--></p><span class="words">生肖</span></div>
            <div class="zs right">
                <div class="public_zhishu" id="caiyun_zhishu">
                    <div><b><!--{$wangyun}--></b>%</div>
                </div>
                <style type="text/css">#caiyun_zhishu:before {width: <!--{$wangyun}-->% }</style>
                <div class="hlg_zhishu"></div>
                <span class="words">旺运指数</span>
            </div>
        </div>
        <div class="public_box"><i class="horn01"></i><i class="horn02"></i><i class="horn03"></i><i class="horn04"></i>
            <div class="yc_content"><span>解析：</span><!--{$fortune}--></div>
        </div>
    </div>
    <div class="caiyun">
        <p class="public_bzcy_title">卜卦说财运</p>
        <div class="caiyun_content">
            <p><span class="bg_red">卦象：</span><!--{$arrzygua['name']}-->（<!--{:mb_substr($arrzygua['name'],2,2,'utf-8')}-->卦）</p>
            <p><span class="bg_yellow">时运：</span><!--{$arrzygua['shiyun']}--></p>
            <p><span class="bg_yellow">财运：</span><!--{$arrzygua['caiyun']}--></p>
            <p><span class="bg_red">解卦  <!--{:mb_substr($arrzygua['name'],2,2,'utf-8')}-->：</span><!--{$arrzygua['text']}--></p>
            <if condition="$arrzygua['jixiong'] eq '凶'">
                <p><span class="bg_red">卦象启示：</span>不占财运，得到该卦，为凶，不免有些耗破散财之事，要合理控制开支。对于流动性较大的业务来说，会有较多机会，但也容易大起大落。财上若有所获，更应理财为上，凡事有规划的花销，切忌不宜过度。切记：理财必须加倍小心谨慎，稍有疏忽，钱财便会大量流泄不止。</p>
                <p><span class="bg_red">财运吉凶：</span>凶。财运欠佳，有些时候会有难关需要渡过，但最后都能逢凶化吉。</p>
                <else />
                <p><span class="bg_red">卦象启示：</span>占财运，得到该卦，为吉，说明财运较旺。时机到来的时候，应将其紧紧抓在手中，重要事情亲力亲为，慢慢就会获大利。切记：财运虽好，仍须小心谨慎，不可过于松懈、大意，以免好时机在不经意间溜走。</p>
                <p><span class="bg_red">财运吉凶：</span>吉。财运俱佳，但初期得财后，仍要谨慎从事。</p>
            </if>

        </div>
        <div class="public_box"><i class="horn01"></i><i class="horn02"></i><i class="horn03"></i><i class="horn04"></i><p class="public_bzcy_title">财运建议</p>
            <div class="caiyun_txt"><span>财运建议：</span><!--{$syarrzhux[0]['zengyan']}--></div>
            
        </div>
        <div class="public_box"><i class="horn01"></i><i class="horn02"></i><i class="horn03"></i><i class="horn04"></i><p class="public_bzcy_title">本次结果特别提醒</p>
            <div class="caiyun_txt">《周易》和五行是一部古老而又灿烂的文化瑰宝，古人用它来预测未来、决策国家大事、反映当前现象，上测天，下测地，中测人事。然而这只是古人在未掌握科学方法之前所依托的一种手段，并不是真正的现代科学。本测算结果还请缘主当它是一种文化和古代术数研究心态看待，作为人生之趣味参考，请勿迷信。因此结果无论吉凶，请您不要太放心上。 一切唯心、唯相而已。成功需靠努力，若因持有幸运命理而一味守株待兔，终日梦想不劳而获，往往会让您错失许多发展良机。</div>
        </div>
    </div>


    <!-- 大师亲算 公共 -->
    <include file="Public/jg_dsqs" />


    <!-- 手机号码绑定 -->
    <include file="Public/alert33" />
    <!-- 结果页公共载入 -->
    <include file="Public/public_jieguoye" />

    <div class="hot_cs">
        <include file="Public/zhiming" />
    </div>

    <!-- 结果特别提醒 -->
    <!--<if condition="$Think.cookie.QSorderNo eq 1">-->

        <!--<else />-->
        <!--<div class="fiex_bt weixinzf" id="fiex" style="display: block">-->
            <!--<a href="javascript:;">加大师微信一对一亲算</a>-->
        <!--</div>-->
    <!--</if> -->
    

    <footer class="footer_severs" style="padding-bottom:61px;">
        <include file="Public/bottom" />
    </footer>
   
    <!-- 弹窗 -->
    <if condition="$wxlogin eq 1">
        <div class="cs_tc_container">
            <div class="cs_tc_warp">
                <img src="__PUBLIC__/images/bzcy_img/img_bzcy.png" width="100%" alt=""> 
                <div class="lingqu_btn">领取并分享</div>
                <span class="closeBtn"></span>
            </div>
        </div>
    <else /></if>
    <!-- 提示分享 -->
    <div class="ts_tc_container">   
        <div class="ts_tc_bg">
            <div class="ts_tc_contnet">点击右上角分享到微信群和朋友圈。</div>
        </div>
    </div>
   
    <script src="__PUBLIC__/js/layer/layer.js"></script>
    <script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
    <audio src="" id="myAudio">
        您的浏览器不支持 audio 标签。
    </audio>
    
    <script>
        var num = 1;
        var clearTime;
        function setTimeAnimation(NodeClass){
            num++;
            if(num >3){
                num=1;
            }
            clearTime = setTimeout(function(){
                $(NodeClass).attr('src',"__PUBLIC__/images/bzjp_img/img_yuyin"+num+".png");
                setTimeAnimation(NodeClass);
            },400)
        }

        var audio = document.getElementById('myAudio');
        document.addEventListener("WeixinJSBridgeReady", function () {
            audio.play();
        }, false);

        $('.dashi_point_box').on('click',function(){
            if($(this).attr('data-cid')=='one'){
                clearTimeout(clearTime);
                if($(this).hasClass('play')){
                    $(this).removeClass('play');
                    audio.pause();
                }else{
                    $('.dashi_point_box').removeClass('play');
                    $(this).addClass('play');
                    $('#myAudio').attr('src','__PUBLIC__/images/bzcy_img/bzcy_top.mp3');
                    audio.play();
                    $(this).next('.dashi_audio_time').removeClass('newMsg');
                }
                
            }else if($(this).attr('data-cid')=='two'){
                clearTimeout(clearTime);
                if($(this).hasClass('play')){
                    $(this).removeClass('play');
                    audio.pause();
                }else{
                    $('.dashi_point_box').removeClass('play');
                    $(this).addClass('play');
                    $('#myAudio').attr('src','__PUBLIC__/images/bzcy_img/bzcy_bottom.mp3');
                    audio.play();
                    $(this).next('.dashi_audio_time').removeClass('newMsg');
                }
            }
        });

        audio.addEventListener("play", function(){

            if($('#myAudio').attr('src')=='__PUBLIC__/images/bzcy_img/bzcy_top.mp3'){
                clearTimeout(clearTime);
                $('#Atwo').attr('src',"__PUBLIC__/images/bzjp_img/img_yuyin3.png");
                setTimeAnimation('#Aone');
            }
            if($('#myAudio').attr('src')=='__PUBLIC__/images/bzcy_img/bzcy_bottom.mp3'){
                clearTimeout(clearTime);
                $('#Aone').attr('src',"__PUBLIC__/images/bzjp_img/img_yuyin3.png");
                setTimeAnimation('#Atwo');
            }
        });
        
        audio.addEventListener("pause", function(){
            $('.dashi_point_box').removeClass('play');
            if($('#myAudio').attr('src')=='__PUBLIC__/images/bzcy_img/bzcy_top.mp3'){
                clearTimeout(clearTime);
                $('#Aone').attr('src',"__PUBLIC__/images/bzjp_img/img_yuyin3.png");
            }
            if($('#myAudio').attr('src')=='__PUBLIC__/images/bzcy_img/bzcy_bottom.mp3'){
                clearTimeout(clearTime);
                $('#Atwo').attr('src',"__PUBLIC__/images/bzjp_img/img_yuyin3.png");
            }
        });

    </script>
    <script>
        $('.closeBtn').on('click',function(){
            $('.cs_tc_container').css('display','none');
        })
        $('.lingqu_btn').on('click',function(){//领取并分享
            $('.cs_tc_container').css('display','none');
            $('.ts_tc_container').css('display','block');
            $.getJSON("<!--{:U('Index/jieguoyeFxlq','',false)}-->",{csName:'CY'},function(data){//回调入库
            });
        })
        $('.ts_tc_container').on('click',function(){
            $('.ts_tc_container').css('display','none');
        })
        
        $('#fiex').on('click',function(){//加大师微信一对一亲算
            $('#publicPayPopup').css('display','block');
            $.getJSON("<!--{:U('Index/jieguoyeXfan','',false)}-->",{csName:'CY'},function(data){//回调入库
            });
        })
        $('.dashi_zaixian_container').on('click',function(){
            $('#publicPayPopup').css('display','block');
        })
        $('#publicPPClose').on('click',function(){
            $('#publicPayPopup').css('display','none');
        })
        $('.kefu_btn').on('click',function(){//大师在线 立即连线
            $('#publicPayPopup').css('display','block');
            $.getJSON("<!--{:U('Index/jieguoyeDszx','',false)}-->",{csName:'CY'},function(data){//回调入库
            });
        })
        
        var wxlogin='<!--{$Think.cookie.wxlogin}-->';
        if (wxlogin == 1) {
        wx.config({
            debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来，若要查看传入的参数，可以在pc端打开，参数信息会通过log打出，仅在pc端时才会打印。
            appId: '<!--{$appid}-->', // 必填，公众号的唯一标识
            timestamp: '<!--{$timestamp}-->', // 必填，生成签名的时间戳
            nonceStr: '<!--{$noncestr}-->', // 必填，生成签名的随机串
            signature: '<!--{$signature}-->',// 必填，签名，见附录1
            jsApiList: [
                'checkJsApi',
                'openLocation',
                'getLocation',
                'onMenuShareTimeline',
                'onMenuShareAppMessage',
                'scanQRCode'
            ] // 必填，需要使用的JS接口列表，所有JS接口列表见附录2
        });

        wx.ready(function () {
            // config信息验证后会执行ready方法，所有接口调用都必须在config接口获得结果之后，config是一个客户端的异步操作，所以如果需要在页面加载时就调用相关接口，
            // 则须把相关接口放在ready函数中调用来确保正确执行。对于用户触发时才调用的接口，则可以直接调用，不需要放在ready函数中。
//         alert('成功');
            wx.onMenuShareAppMessage({
                title: '不可思议！想发财的一定要看，易学大师亲算特别灵！', // 分享标题
                desc: '命理老师财神根据周易五行命理精准批算您的八字财运，预测最佳发财时间及未来财运走势。依卦象分析，提供针对性的建议和开运措施，祝您财运亨通！', // 分享描述
                link: '<!--{$Think.cookie.CYwxfxUrl}-->', // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
                imgUrl: 'http://hy.yixueqm.com/zhiming/Public/images/public/01.png', // 分享图标  http://api.xbd61.com/hebazi/public/img/icon.png
                type: '', // 分享类型,music、video或link，不填默认为link
                dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
                success: function (res) {
                    // 用户确认分享后执行的回调函数
                    $('.ts_tc_container').css('display','none');
                    $.getJSON("<!--{:U('Index/wxShare','',false)}-->",{csName:'CY'},function(data){//回调入库
                    });

                },
                cancel: function () {
                    // 用户取消分享后执行的回调函数
                }
            });

            wx.onMenuShareTimeline({
                title: '不可思议！想发财的一定要看，易学大师亲算特别灵！', // 分享标题
                desc: '命理老师财神根据周易五行命理精准批算您的八字财运，预测最佳发财时间及未来财运走势。依卦象分析，提供针对性的建议和开运措施，祝您财运亨通！', // 分享描述
                link: '<!--{$Think.cookie.CYwxfxUrl}-->', // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
                imgUrl: 'http://hy.yixueqm.com/zhiming/Public/images/public/01.png', // 分享图标  http://api.xbd61.com/hebazi/public/img/icon.png
                type: '', // 分享类型,music、video或link，不填默认为link
                dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
                success: function (res) {
                    // 用户确认分享后执行的回调函数
                    $('.ts_tc_container').css('display','none');
                    $.getJSON("<!--{:U('Index/wxShare','',false)}-->",{csName:'CY'},function(data){//回调入库
                    });
                }

            });

            wx.onMenuShareQQ({
                title: '不可思议！想发财的一定要看，易学大师亲算特别灵！', // 分享标题
                desc: '命理老师财神根据周易五行命理精准批算您的八字财运，预测最佳发财时间及未来财运走势。依卦象分析，提供针对性的建议和开运措施，祝您财运亨通！', // 分享描述
                link: '<!--{$Think.cookie.CYwxfxUrl}-->', // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
                imgUrl: 'http://hy.yixueqm.com/zhiming/Public/images/public/01.png', // 分享图标  http://api.xbd61.com/hebazi/public/img/icon.png
                type: '', // 分享类型,music、video或link，不填默认为link
                dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
                success: function (res) {
                    // 用户确认分享后执行的回调函数
                }
            });

            wx.onMenuShareQZone({
                title: '不可思议！想发财的一定要看，易学大师亲算特别灵！', // 分享标题
                desc: '命理老师财神根据周易五行命理精准批算您的八字财运，预测最佳发财时间及未来财运走势。依卦象分析，提供针对性的建议和开运措施，祝您财运亨通！', // 分享描述
                link: '<!--{$Think.cookie.CYwxfxUrl}-->', // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
                imgUrl: 'http://hy.yixueqm.com/zhiming/Public/images/public/01.png', // 分享图标  http://api.xbd61.com/hebazi/public/img/icon.png
                type: '', // 分享类型,music、video或link，不填默认为link
                dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
                success: function (res) {
                    // 用户确认分享后执行的回调函数
                }
            });

            wx.onMenuShareWeibo({
                title: '不可思议！想发财的一定要看，易学大师亲算特别灵！', // 分享标题
                desc: '命理老师财神根据周易五行命理精准批算您的八字财运，预测最佳发财时间及未来财运走势。依卦象分析，提供针对性的建议和开运措施，祝您财运亨通！', // 分享描述
                link: '<!--{$Think.cookie.CYwxfxUrl}-->', // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
                imgUrl: 'http://hy.yixueqm.com/zhiming/Public/images/public/01.png', // 分享图标  http://api.xbd61.com/hebazi/public/img/icon.png
                type: '', // 分享类型,music、video或link，不填默认为link
                dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
                success: function (res) {
                    // 用户确认分享后执行的回调函数
                }
            });

            wx.error(function (res) {
                // config信息验证失败会执行error函数，如签名过期导致验证失败，具体错误信息可以打开config的debug模式查看，也可以在返回的res参数中查看，对于SPA可以在这里更新签名
//         alert('失败');
            });


        });

            $(".weixinzf").on('click',function(){
                WeixinJSBridge.invoke(
                        'getBrandWCPayRequest', {
                            "appId":"<!--{$appId}-->",     //公众号名称，由商户传入
                            "timeStamp":"<!--{$timeStamp}-->",         //时间戳，自1970年以来的秒数
                            "nonceStr":"<!--{$nonceStr}-->", //随机串
                            "package":"<!--{$package}-->",
                            "signType":"<!--{$signType}-->",         //微信签名方式：
                            "paySign":"<!--{$paySign}-->" //微信签名
                        },
                        function(res){
                            if(res.err_msg == "get_brand_wcpay_request:ok" ) {
                                location.href="<!--{:U('Bzcy/payzfEnd','',false)}-->";
                            }     // 使用以上方式判断前端返回,微信团队郑重提示：res.err_msg将在用户支付成功后返回    ok，但并不保证它绝对可靠。
                        }
                );

            });

        }else{
            var channel="<!--{$channel}-->";
            var qsPay="<!--{$qsPay}-->";
            $(".weixinzf").on('click',function(){
                $.getJSON("<!--{:U('Index/ydy_click','',false)}-->",{csName:'CY'},function(data){//大师一对一统计次数
                });

                if(qsPay==1){
                    alert('已支付');
                }else{
                    if(channel=='qudao26'){
                        location.href="<!--{:U('Index/lianshangZF','',false)}-->?csName=一对一亲算";//亲算公共支付
                    }else{
                        location.href="<!--{:U('Index/payZfb','',false)}-->";//支付宝亲算公共支付
                    }
                }
            });
        }
    </script>
</body>
</html>